package cn.buk.api.ctrip.dto;

import java.util.Date;

/**
 * Created by yfdai on 15/9/26.
 */
public class SearchPolicyCriteria {

    private String departurePort;

    private String arrivalPort;

    private String carrier;

    private String subClass;

    private Date departureDate;

    private String policyCode;

//    private String username;
//    private String password;
    private int startIndex;
    private int pageSize;
    private int total;


    public String getDeparturePort() {
        if (departurePort == null) return "";
        return departurePort;
    }

    public void setDeparturePort(String departurePort) {
        this.departurePort = departurePort;
    }

    public String getArrivalPort() {
        if (arrivalPort == null) return "";
        return arrivalPort;
    }

    public void setArrivalPort(String arrivalPort) {
        this.arrivalPort = arrivalPort;
    }

    public String getCarrier() {
        if (carrier == null) return "";
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }

    public String getSubClass() {
        if (subClass == null) return "";
        return subClass;
    }

    public void setSubClass(String subClass) {
        this.subClass = subClass;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(int startIndex) {
        this.startIndex = startIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public Date getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(Date departureDate) {
        this.departureDate = departureDate;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getPolicyCode() {
        return policyCode;
    }

    public void setPolicyCode(String policyCode) {
        this.policyCode = policyCode;
    }
}
